<?php get_header();?>
<!-- Trang nha hang -->
<body>
<div id="wrapper">
	<?php require_once TEMPLATEPATH.'/views/view-header.php';?>
    <?php require_once TEMPLATEPATH.'/views/view-menu.php';?>
    <div id="header-third">
    		<!--slideshow-->
 		   	<?php require_once TEMPLATEPATH.'/views/view-slide-show.php';?>
		    <!--end slideshow--> 
            <!--container-->
         <div id="container">
         <?php require_once TEMPLATEPATH.'/views/view-breadcrumb.php';?>
         <div class="clear"></div>
         <!--main content-->
            <div id="maincontent">
            	
            	<?php the_post();
            	$post_id = get_the_ID();
            	$thumbnail = db_get_post_meta($post_id, $wpdb->prefix.'thumbnail');
            	$rating = get_post_meta($post_id,$wpdb->prefix.'rating',true);
            	
            	?>
            	<div id="page-hotels-price">
                <h3>Backpaker's Hotels</h3>
                <span class="linegioithieu"></span>
                
                
                <div class="content-hotels-price">
                <?php 
                if($thumbnail)
                {
                ?>
                <img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumbnail;?>&w=329&h=223" border="0"" alt="<?php echo $alt;?>">
                <?php 	
                }	
                ?>
                
                <p class="rating-hotel"><span class="rating">Rating:</span>
                	<?php 
                	if($rating)
                	{
                		for ($i=1;$i<=$rating;$i++)
                		{
                		?>
                		<img alt="" src="<?php echo WP_MYSITE_TEMPLATE_URL;?>/images/ratings_06.png" width="15" height="15">
                		<?php 	
                		}
                	}
                	?>
                </p>
               <br/><span class="rating2">Description:</span>
               <?php 
               	the_content();
               ?>             
              
                
                </div>
                
                
                <div class="fivetab">
                <ul class="menu-info">
	            	<li><a <?php echo $m_price;?> href="<?php echo WP_MYSITE_URL;?>/hotels?tab=price">Price</a></li>
	                <li><a <?php echo $m_features;?> href="<?php echo WP_MYSITE_URL;?>/hotels?tab=features">Hotel Features</a></li>
	                <li><a <?php echo $m_policies;?> href="<?php echo WP_MYSITE_URL;?>/hotels?tab=policies">Hotel Policies</a></li>               
	                <li><a <?php echo $m_views;?> class="last" href="<?php echo WP_MYSITE_URL;?>/hotels?tab=views">Guest Reviews</a></li>
	            </ul>
            	<!-- Price table -->
            	
            	<?php include TEMPLATEPATH.'/views/view-hotel-views.php';?>
            	
            	<!-- +++++++++++ -->
            	
                </div>
                </div>
                
                
            </div>
            <!--main content-->
            <!--sidebar-right-->
            <?php get_sidebar();?> 
            <!--sidebar-right-->
            <div class="clear"></div> 
        </div>
        <!--container-->
        <!--bgfooter-->
<?php get_footer();?>
          